<template>
	<div>
		<!--<top-nav bgColor="white" title="我的工厂"></top-nav>-->
		
		<order-item
          v-for="item in orderList"
          :id="item"
          @refresh="refresh"/>
		
	</div>
</template>

<script>
	 import BScroll from 'better-scroll'
	  import OrderItem from './orderItem.vue'
	 	
	 import TopNav from '@/components/nav/topNav.vue'
	 export default {
	 	 components: {
		      TopNav,
		      OrderItem
		 },
		 data(){
		 	return{
			 }
		 },
		 mounted(){
		 	this.getServerList()
		 },
		 methods:{ 
		 	getServerList(){
		 		let that=this
			 	that.axios.get('/wechatsip/factoryUser/getFactoryList').then(function(response){
			 		console.info(response.data)
			 	}).catch(function(error){
			 		console.info(error)
			 	})
			 	that.axios.get('/wechatsip/factory/getFactoryList').then(function(response){
			 		console.info('123456')
			 		console.info(response.data)
			 	}).catch(function(error){
			 		console.info(error)
			 	})
		 	},
		 }
	  }
</script>

<style>
</style>